<include file="public@header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li><a href="{:url('AdminIndex/index')}">人员管理</a></li>
			<li  class="active"><a href="{:url('AdminIndex/recordsList')}">人员缴纳情况</a></li>
            
		</ul>
        <form class="well form-inline margin-top-20" method="get" action="{:url('AdminIndex/index')}">
            用户名:
            <input type="text" class="form-control" name="keywords" style="width: 120px;" value="{:input('request.keywords/s','')}" placeholder="请输入{:lang('USERNAME')}">
            <input type="submit" class="btn btn-primary" value="搜索" />
            <a class="btn btn-danger" href="{:url('AdminIndex/index')}">清空</a>
        </form>
		<table class="table table-hover table-bordered">
			<thead>
				<tr>
					<th width="50">ID</th>
                    <th>名称</th>
					<th>金额</th>
                    <th>缴纳日期</th>
                    <th>最后修改时间</th>
                    <th>类型</th>
					<th width="140">{:lang('ACTIONS')}</th>
				</tr>
			</thead>
			<tbody>
				
				<foreach name="records" item="vo">
				<tr>
                    <td>{$vo.id}</td>
                    <td>
						{$vo.title}
                    </td>
                    <td>
						{$vo.money/100}
					</td>
					<td>
						{:date('Y-m-d',strtotime($vo.create_time))}
					</td>
					<td>
						{$vo.update_time|date="Y-m-d H:i:s"}
					</td>
					<td>
						<if condition="$vo['type'] eq 1">
							缴存
							<elseif condition="$vo['type'] eq 2"/>
                            提取
                            <else/>
                            其他
                        </if>
					</td>
					
					<td>

                        <a class="btn btn-xs btn-primary" href='{:url("AdminIndex/editRecord",array("id"=>$vo["id"]))}'>{:lang('EDIT')}</a>
                        
                        
							
					</td>
				</tr>
				</foreach>
			</tbody>
		</table>
		<div class="pagination">{$page}</div>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>